package code.google.jcontainer.test.extend;

import code.google.jcontainer.AbstractContainer;
import code.google.jcontainer.annotation.Container;
import code.google.jcontainer.test.simple.SimpleBean;

/**
 * @author <a href="mailto:jfox.young@gmail.com">Young Yang</a>
 * @create 2009-12-29 16:31:45
 */
@Container(
        name = "ExtendedContainer",
        componentType = SimpleBean.class,
        supportAnnotations = {DefaultWord.class}
)
public class ExtendedContainer extends AbstractContainer{

    final static String DEFAULT_WORD = "Hi, Extended Container!";

    // resolver will call this method to get default word
    public String getDefaultWord(){
        return DEFAULT_WORD;
    }

}
